package kr.hkit.powerjava.chapter12;

class Tv implements RemoteControl{

	@Override
	public void turnOn() {
		System.out.println("TV ON");
		
	}

	@Override
	public void turnOff() {
		System.out.println("TV OFF");
	}
	
}

class Car implements RemoteControl{

	@Override
	public void turnOn() {
		System.out.println("Car On");
	}

	@Override
	public void turnOff() {
		System.out.println("Car Off");
	}
	
}

 public interface RemoteControl {
	public abstract void turnOn();
	void turnOff();
}
